//
//  WallpaperViewController.m
//  Pictorial
//
//  Created by SKY on 15/12/28.
//  Copyright © 2015年 sky. All rights reserved.
//

#import "WallpaperViewController.h"
#import "HomeViewController.h"
#import <MediaPlayer/MediaPlayer.h>

#import "WallpaperView.h"

@interface WallpaperViewController ()<WallpaperViewDelegate>

@end

@implementation WallpaperViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    WallpaperView *wallpaperView = [[[NSBundle mainBundle] loadNibNamed:@"WallpaperPageView" owner:nil options:nil] firstObject];
    [self.view addSubview:wallpaperView];
    wallpaperView.delegate = self;
    
    
    mpmedia
}
-(void)back{
    [self dismissViewControllerAnimated:YES completion:nil];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
